package com.jiezhuo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-09-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_jzg_user")
@ApiModel(value="User对象", description="用户表")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "主键")
//    @TableId(value = "TeacherId", type = IdType.AUTO)
//    private Long id;
    @TableField(value = "Login_ID")
    private String userName;
    @ApiModelProperty(value = "用户名id")
    @TableId(value = "TeacherId")
    private String userid;
    @TableField(exist = false)
    @ApiModelProperty(value = "Role")
    private String role;
    @TableField(exist = false)
    @ApiModelProperty(value = "JB")
    private String jb;
    @TableField(exist = false)
    @ApiModelProperty(value = "GLLX")
    private String gllx;

    @TableField(exist = false)
    private String nickName;

    @TableField(exist = false)
    private String password;

    @TableField(exist = false)
    private String status;

    @TableField(exist = false)
    private String email;

    @TableField(exist = false)
    private String phonenumber;

    @TableField(exist = false)
    private String sex;

    @TableField(exist = false)
    private String avatar;

    @TableField(exist = false)
    private String userType;

    @TableField(exist = false)
    private Long createBy;

    @TableField(exist = false)
    private LocalDateTime createTime;

    @TableField(exist = false)
    private Long updateBy;

    @TableField(exist = false)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private Integer delFlag;

    @TableField(exist = false)
    private List<Menu> menus;

}
